<template>
  <div>
      <div><span>这是图片组件</span></div>
      <div class="tu"><img src="../assets/b.jpeg" alt=""></div>
  </div>
</template>

<script>

export default {
  name: 'ImageOne',
  props: {
    msg: String,
  },
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
span {
  color: red;
}
.tu{
  width:50%;
  height:80%;
}
</style>
